﻿using com.ytocargo.Core.AirCraftInfos;
using com.ytocargo.Core.AirPortInfos;
using com.ytocargo.Core.FlightCfps;
using com.ytocargo.Core.FlightInfos;
using System;
using Yto.AutoMapper.Attributes;

namespace com.ytocargo.Application.FlightInfos.Dto
{
    [AutoMapFrom(typeof(FlightInfo))]
    public class FlightInfoDto
    {
        public int Id { get; set; }

        public DateTime FlightDate { get; set; }

        public string FlightType { get; set; }

        public string FlightNo { get; set; }

        public string AcType { get; set; }

        public string AcReg { get; set; }

        public string DepartureAirPort { get; set; }

        public string ArrivalAirPort { get; set; }

        public DateTime? Ptd { get; set; }

        public DateTime Std { get; set; }

        public DateTime? Etd { get; set; }

        public DateTime? Out { get; set; }

        public DateTime? AcarsAtd { get; set; }

        public DateTime? Atd { get; set; }

        public DateTime? Pta { get; set; }

        public DateTime Sta { get; set; }

        public DateTime? Eta { get; set; }

        public DateTime? AcarsAta { get; set; }

        public DateTime? Ata { get; set; }

        public DateTime? Inn { get; set; }

        public DateTime? CloseDoorTime { get; set; }

        public DateTime? OpenDoorTime { get; set; }

        public string DOrI { get; set; }

        public string POrC { get; set; }

        public string AdjustType { get; set; }

        public string FlgDelay { get; set; }

        public string FlgVr { get; set; }

        public string FlgPatch { get; set; }

        public string FlgCs { get; set; }


        public AirPortInfo airPortInfoDep { get; set; }

        public AirPortInfo airPortInfoArr { get; set; }

        public string FplDivAirport1 { get; set; }

        public string FplDivAirport2 { get; set; }

        public AirPortInfo airPortInfoFpl1 { get; set; }

        public AirPortInfo airPortInfoFpl2 { get; set; }

        public AirCraftInfo airCraftInfo { get; set; }

        public FlightCfp flightCfp { get; set; }
    }
}
